* image.c (imagemagick_filename_hint): New arg HINT_BUFFER.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:00:25 +0000 (00:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:00:25 +0000 (00:00 -0700)
commit08a12c5b9036893390e1ba62c56f0d02b6de1a87
tree0d928c5995807cf1c03bc6ab3a9cd5d6b6f415db
parent6e95ef0f5fef11c80989203fda85272ba58c2bf2
* image.c (imagemagick_filename_hint): New arg HINT_BUFFER.

Use changed.  This avoids the need to call xmalloc and for the
caller to call xfree, and avoids memory leaks in some situations.
src/ChangeLog
src/image.c